package test.serverframe.armc.server.manager.domain.params;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.Min;

/**
 * @Description 任务分页参数对象
 * @Author LSY
 * @Date 2018/9/29 9:43
 * @ClassName test.serverframe.armc.server.manager.domain.params.TaskParams
 */
@ApiModel("任务分页参数")
public class TaskParams {

    @Min(value = 1, message = "pageNum必须大于0")
    @ApiModelProperty("页码")
    private int pageNum;

    @Min(value = 1, message = "pageSize必须大于0")
    @ApiModelProperty("数量")
    private int pageSize;

    @ApiModelProperty("任务名")
    private String taskName;

    public int getPageNum() {
        return pageNum;
    }

    public void setPageNum(int pageNum) {
        this.pageNum = pageNum;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public String getTaskName() {
        return taskName;
    }

    public void setTaskName(String taskName) {
        this.taskName = taskName;
    }

}
